import "hammerjs";
import { BrowserModule } from "@angular/platform-browser";
import { BrowserAnimationsModule } from "@angular/platform-browser/animations";
import { NgModule } from "@angular/core";
import { CommonModule } from "@angular/common";
import { FlexLayoutModule } from "@angular/flex-layout";
import { MatButtonModule } from "@angular/material/button";
import { MatCardModule } from "@angular/material/card";
import { MatIconModule } from "@angular/material/icon";
import { MatInputModule } from "@angular/material/input";
import { MatListModule } from "@angular/material/list";
import { MatSlideToggleModule } from "@angular/material/slide-toggle";
import { MatSnackBarModule } from "@angular/material/snack-bar";
import { MatTabsModule } from "@angular/material/tabs";
import { MatToolbarModule } from "@angular/material/toolbar";

import { DndModule } from "ngx-drag-drop";
import { AppComponent } from "./app.component";
import { SimpleComponent } from "./simple/simple.component";
import { ListComponent } from "./list/list.component";
import { NativeComponent } from "./native/native.component";
import { TypedComponent } from "./typed/typed.component";
import { NestedComponent } from "./nested/nested.component";
import { DemoLinkComponent } from "./demo-link/demo-link.component";
import { HttpClientModule } from "@angular/common/http";
import { IndirectDndHandleComponent } from './indirect-dnd-handle/indirect-dnd-handle.component';
import { IndirectDragImageComponent } from './indirect-drag-image/indirect-drag-image.component';

@NgModule( {
  declarations: [
    AppComponent,
    SimpleComponent,
    ListComponent,
    NativeComponent,
    TypedComponent,
    NestedComponent,
    DemoLinkComponent,
    IndirectDndHandleComponent,
    IndirectDragImageComponent
  ],
  imports: [
    BrowserModule,
    BrowserAnimationsModule,
    CommonModule,
    DndModule,
    FlexLayoutModule,
    HttpClientModule,
    MatButtonModule,
    MatInputModule,
    MatToolbarModule,
    MatCardModule,
    MatSnackBarModule,
    MatSlideToggleModule,
    MatIconModule,
    MatListModule,
    MatTabsModule
  ],
  providers: [],
  bootstrap: [ AppComponent ]
} )
export class AppModule {
}
